import {createApp} from 'vue'
import App from './App.vue'
//css
import './assets/styles/main.less'
//vue-router
import router from "./router/router.js";
//element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import {createPinia} from "pinia";

//pinia
const pinia = createPinia()

const app = createApp(App)
app.use(router)
app.use(ElementPlus, {
    locale: zhCn,
})
app.use(pinia)
app.mount('#app')
